//
//  YLMyInfoViewModel.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/4.
//  Copyright © 2017年 she1323. All rights reserved.
//  实名信息

#import "YLMyInfoViewModel.h"

@implementation YLMyInfoViewModel

- (instancetype)init
{
    if (self = [super init]) {
        [self setUp];
    }
    return self;
}

- (void)setUp
{
    _sureEnableSiganl = [RACSignal combineLatest:@[RACObserve(self, idCardText), RACObserve(self, myNameText), RACObserve(self, bankCardText)] reduce:^id _Nullable(NSString *idCardText, NSString *myNameText, NSString *bankCardText){
        return @(idCardText.length && myNameText.length && bankCardText.length);
    }];
    
}

@end
